package org.jradweb.core.web;

import java.util.Locale;

import javax.servlet.http.HttpServletRequest;

import org.jradweb.core.beans.DataBinder;
/**
 * for web application. binder http request form parameters to bean
 *
 * Created On 2008-7-12
 * @author <a href="mailto:wagzhi@gmail.com">Paul Wang</a>
 * @version $Id: WebDataBinder.java 149 2008-10-10 03:10:10Z wagzhi $
 */
public interface WebDataBinder extends DataBinder{
	public <T> FormBean<T> bind(T object, HttpServletRequest request) ;
	
	public <T> FormBean<T> wrap(T target,Locale locale) ;
}
